package com.telecom.mapper;

import com.telecom.entity.Driver;
import com.telecom.entity.DriverQuery;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface DriverMapper {
    @Insert("insert into driver(driver_type,person_id) values(#{driverType},#{personId})")
    int insert(Driver driver);

    List<DriverQuery> selectList();
}
